package ee.homework.fifth;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

public class SkipList {

	private int level;
	private List<LinkedList<Integer>> levels;

	public SkipList() {
		level = 1;
		levels = new ArrayList<LinkedList<Integer>>();
		levels.add(new LinkedList<Integer>());
	}

	public void add(Integer key) {

	}

	private int generateLevel() {
		int counter = 0;
		int x;
		do {
			x = (int) (Math.random() * 2);
			counter++;
		} while (x > 0);
		return counter;
	}
}
